
interface TGGetterState {
    app: Record<string, any>,
    authority: Record<string, any>
    rulesconfig:Record<string, any>
}
const getters = {
      sidebar:(state:TGGetterState)=>state.app.sideBar,
      accessibleRoutes:(state:TGGetterState)=>state.authority.accessibleRoutes,
      activityrules:(state:TGGetterState)=>state.rulesconfig.activityrules,
      allrules:(state:TGGetterState)=>state.rulesconfig.allrules,
      
}
export default getters